package com.cx.caigou.request.service;

import com.cx.caigou.config.ResultVO;
import com.cx.caigou.request.model.*;
import org.springframework.web.multipart.MultipartFile;

public interface RequestService {
    ResultVO queryData(RequestSelect requestSelect);

    ResultVO queryLegalPerson(Integer id);

    ResultVO queryByLegalPerson(Integer id);

    ResultVO selectMaterial(SelectSpare selectSpare);

    ResultVO searchPartnerPage(SelectSupplier selectSupplier);

    ResultVO see(Integer requestForQuotationId);

    ResultVO add(AllClass allClass);

    ResultVO update(AllClass allClass);

    ResultVO importFile(MultipartFile file) throws Exception;

    ResultVO modifyState(ID id);

    ResultVO updateState(ID requestForQuotationId);

    ResultVO approverState(ID requestForQuotationId);
}
